*{
    font-size: 14px;
}
.bg-theme{
    background-color: #dd141b;
}

.text-theme{
    color: #dd141b;
}
img{
    max-width: 100%;
}

a,a:hover {
    color: #337ab7;
    text-decoration: none;
    background-color: transparent;
}
p {
    margin: 0 0 10px;
}


.navbar-brand{
    width: 200px
}

.navbar-brand img{
    width: 100%;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link{
    color: #faa613;
}
.navbar-light .navbar-nav .nav-link {
    color: #fff;
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
}

.nav-link{
    font-size: 20px;
    color: #fff;
    display: inline-block;
    margin: 0 30px;
}
.navbar-collapse {
    flex-grow: 0;
}

.home-section{
    padding: 50px 0;
    background:#fff;
}

.home-section:nth-child(2n+1) {
    background: #f5f6fa;
}
/* .home-section.home-about,.home-section.home-case{
    background: #f5f6fa;
} */



.home-about h1{
}

.home-about h1 small {
    display: inline-block;
    background: #e60012;
    color: #fff;
    padding: 5px;
    font-size: 80%;
    margin-left: 10px;
}

.home-section .description {
    margin-top: 30px;
    font-size: 19px;
    line-height: 36px;
}

.icon-box .item{
    margin-bottom: 10px
}
.home-case .icon {
    display: inline-block;
    width: 26px;
    height: 26px;
    background: url(./img/home-case-more.png) no-repeat center center;
    vertical-align: middle;
    margin-right: 15px;
    margin-top: -5px;
}
.home-case a.btn,.home-case a.btn:hover{
    padding: 10px 15px;
    background-color: #e60012;
}
.footer {
    padding: 50px 0;
    background: #373737;
    font-size: 14px;
}
.footer * {
    color: #cacaca;
}

.footer .website {
    padding-bottom: 22px;
    border-bottom: 1px solid #000;
}
.footer .website .website-info {
    padding-top: 25px;
}

.footer .copyright {
    padding-top: 40px;
    border-top: 1px solid #4f4f4f;
}


.page-case .case-title {
    color: #dd141b;
    font-weight: bold;
}

.page-case .case-description {
    margin: 20px 0;
    font-size: 16px;
    line-height: 30px;
}

.page-case .case-logo img {
    height: 70px;
}
.case-service {
    margin-top: 20px;
    overflow: hidden;
}
.case-service .item {
}

.case-service .item .card {
    min-height: 200px;
    padding: 20px;
    border: 1px solid #707070;
    margin: 5px;
}
.case-service .item .card h1 {
    position: relative;
    margin: 0 0 20px;
    padding-left: 40px;
    font-size: 22px;
}

.case-service .item .card h1:before {
    content: '';
    width: 31px;
    height: 29px;
    position: absolute;
    left: 0;
    background: url(./img/case-service.png) no-repeat left top;
    background-size: 198px;
}
.case-service .item:nth-child(1) .card h1:before{
    background-position: 0 0;
}
.case-service .item:nth-child(2) .card h1:before{
    background-position: -32px 0;
}
.case-service .item:nth-child(3) .card h1:before{
    background-position: -66px 0;
}
.case-service .item:nth-child(4) .card h1:before{
    background-position: -100px 0;
}
.case-service .item:nth-child(5) .card h1:before{
    background-position: -134px 0;
}
.case-service .item:nth-child(6) .card h1:before{
    background-position: -168px 0;
}

.about-contact .map .info {
    background: #e60012;
    color: #fff;
    padding: 10px 15px;
}
.about-contact .map .info span {
    display: inline-block;
    margin-right: 35px;
    font-size: 15px;
}

.about-contact .map img {
    width: 100%;
}

.about-main .card{
    background-color: inherit;
    border: none;
}
.about-main .right .card h1 {
    position: relative;
}
.about-main .right .card h1:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 4px;
    background: #e60012;
}

.about-main .right .card p {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 35px;
}

.about-main .right .card .btn,.about-main .right .card .btn:hover {
    width: 180px;
    display: inline-block;
    background: #e60012;
    color: #fff;
    border: none;
    padding: 15px 30px;
}
.about-description .thumb {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #a9acad;
}
.about-description .thumb img {
    width: 100%;
}
.about-superiority .top .icon-items h3 {
    margin: 20px 0;
}
.about-superiority .top .icon-items img {
    height: 100px;
}
.about-superiority .top .icon-items {
    margin-top: 50px;
}

@media screen and (min-width: 1280px){
    .case-service .item .card {
        min-height: 162px;
    }
    .home-section .description p{
        margin-top: 10px;
        font-size: 1.3rem;
        line-height: 35px;
    }
}
@media screen and (min-width: 768){
    img.slider{
        width:100%;
    }
}

@media screen and (max-width: 1024px){
    h1{
        font-size: 2.5rem;
        font-weight: bolder;
    }
    
}
@media screen and (max-width: 768px){
    h1{
        font-size: 1.6rem;
        font-weight: bolder;
    }
    .about-main .right .card p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    p{
        
    }
    .home-about h1{
        font-size: 20px;
        font-weight: bolder;
    }
    .home-about h1 small {
        font-size: 70%;
    }
    .home-section .description {
        margin-top: 10px;
        font-size: 16px;
        line-height: 24px;
    }
    .icon-box .item h3{
        font-size: 1rem
    }
    .case-service .item .card {
        min-height: 224px;
    }
    
}

@media screen and (max-width: 767px){
    footer{
        text-align: center;
    }
    .page-case{
        text-align: center;
    }
    .case-service .item .card {
        min-height: 180px;
    }
    .about-description .thumb{
        margin-top: 10px;
    padding-top: 10px;
    }
    img.slider{
        position: relative;
        left: -18%;
        width: 136%;
        min-width: 136%;
        /* width: auto; */
        /* height:230px; */
    }
}
@media screen and (max-width: 320px){
    .home-about h1{
        font-size: 16px;
        font-weight: bolder;
    }
    .home-section .description {
        margin-top: 10px;
        font-size: 14px;
        line-height: 20px;
    }
    .icon-box .item h3{
        font-size: 1rem
    }
    
}
